#ifndef STDMMCTRH
#define STDMMCTRH
#pragma pack(1)
struct SRVPCTR
{
char imarca;
char excluido;
unsigned long Codigo;
unsigned long CodigoLink;
unsigned short int Servico;
char Espaco[90];
char fmarca;
#define SRVPCTR_CODIGO "Codigo"
#define SRVPCTR_CODIGOLINK "CodigoLink"
#define SRVPCTR_SERVICO "Servico"
#define SRVPCTR_ESPACO "Espaco"
};
struct REAJUSTE
{
char imarca;
char excluido;
unsigned short int Contrato;
unsigned long ContratoLink;
unsigned long Data;
double Servicos;
double Honorarios;
long Observacao;
unsigned char Tipo;
char Espaco[20];
char fmarca;
#define REAJUSTE_CONTRATO "Contrato"
#define REAJUSTE_CONTRATOLINK "ContratoLink"
#define REAJUSTE_DATA "Data"
#define REAJUSTE_SERVICOS "Servicos"
#define REAJUSTE_HONORARIOS "Honorarios"
#define REAJUSTE_OBSERVACAO "Observacao"
#define REAJUSTE_TIPO "Tipo"
#define REAJUSTE_ESPACO "Espaco"
};
struct MVCTR
{
char imarca;
char excluido;
unsigned long Codigo;
char Cliente[21];
char Modelo[31];
char Servico[11];
unsigned long DataContrato;
unsigned long DataInicial;
unsigned long DataFinal;
unsigned long DataRescisao;
double Valor;
unsigned char PeriodicidadeReajuste;
char IndiceReajuste[21];
unsigned char ArredondarReajuste;
float Multa;
float Juros;
char RepresentanteOld[20];
char Adicional[11];
unsigned char PeriodicidadeAdicional;
float PorcentagemAdicional;
unsigned char InicioAdicional;
unsigned char ProporcaoAdicional;
long Observacoes;
double ValorHonorarios;
char ServicoOutros[11];
char AdicionalOutros[11];
unsigned char TipoAdicionalOutros;
unsigned long Representante;
unsigned char ArredondarAdicional;
unsigned short int DiaParcela;
unsigned short int Parcelas;
unsigned char PeriodicidadeContrato;
char Espacos[159];
char fmarca;
#define MVCTR_CODIGO "Codigo"
#define MVCTR_CLIENTE "Cliente"
#define MVCTR_MODELO "Modelo"
#define MVCTR_SERVICO "Servico"
#define MVCTR_DATACONTRATO "DataContrato"
#define MVCTR_DATAINICIAL "DataInicial"
#define MVCTR_DATAFINAL "DataFinal"
#define MVCTR_DATARESCISAO "DataRescisao"
#define MVCTR_VALOR "Valor"
#define MVCTR_PERIODICIDADEREAJUSTE "PeriodicidadeReajuste"
#define MVCTR_INDICEREAJUSTE "IndiceReajuste"
#define MVCTR_ARREDONDARREAJUSTE "ArredondarReajuste"
#define MVCTR_MULTA "Multa"
#define MVCTR_JUROS "Juros"
#define MVCTR_REPRESENTANTEOLD "RepresentanteOld"
#define MVCTR_ADICIONAL "Adicional"
#define MVCTR_PERIODICIDADEADICIONAL "PeriodicidadeAdicional"
#define MVCTR_PORCENTAGEMADICIONAL "PorcentagemAdicional"
#define MVCTR_INICIOADICIONAL "InicioAdicional"
#define MVCTR_PROPORCAOADICIONAL "ProporcaoAdicional"
#define MVCTR_OBSERVACOES "Observacoes"
#define MVCTR_VALORHONORARIOS "ValorHonorarios"
#define MVCTR_SERVICOOUTROS "ServicoOutros"
#define MVCTR_ADICIONALOUTROS "AdicionalOutros"
#define MVCTR_TIPOADICIONALOUTROS "TipoAdicionalOutros"
#define MVCTR_REPRESENTANTE "Representante"
#define MVCTR_ARREDONDARADICIONAL "ArredondarAdicional"
#define MVCTR_DIAPARCELA "DiaParcela"
#define MVCTR_PARCELAS "Parcelas"
#define MVCTR_PERIODICIDADECONTRATO "PeriodicidadeContrato"
#define MVCTR_ESPACOS "Espacos"
};
#pragma pack()
#endif
